package map;

import java.io.Serializable;

public class Lightmap implements Serializable {

	
	private static final long serialVersionUID = 1650781516671720759L;
	private int levelIndex;
	private boolean[][] lightTiles;
	private int userId;
	
	public Lightmap(int userId, int levelIndex, int width, int height) {
		this.levelIndex = levelIndex;
		this.lightTiles = new boolean[width][height];
		for(int x = 0; x < lightTiles.length; x++) {
			for(int y  = 0; y < lightTiles[x].length; y++) {
				lightTiles[x][y] = false;
			}
		}
		this.userId = userId;
	}

	public int getLevelIndex() {
		return levelIndex;
	}

	public void setLevelIndex(int levelIndex) {
		this.levelIndex = levelIndex;
	}

	public boolean[][] getLightTiles() {
		return lightTiles;
	}

	public void setLightTiles(boolean[][] lightTiles) {
		this.lightTiles = lightTiles;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	
	
	
}
